package pers.youqu.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import pers.youqu.user.dto.UserDTO;
import pers.youqu.user.po.User;

public interface UserService extends IService<User> {

    Boolean isExists(String data, Integer type);

    void sendCode(String phone);

    void registerUser(User user, String code);

    UserDTO findUserByUsernameAndPassword(String username, String password);
}